import request from '@/request/request.js';


/**
 * @description  任务列表
 */
export function getArrivalOrderList(param){

    return request({
        url: '/arrival-order/page',
        headers: {
            isToken: true
        },
        method: 'get',
        params: param
    })
}

/**
 *
 * @param code
 * @returns {Promise<unknown>}
 */
export function getArrivalOrderForm(code){
    return request({
        url: '/arrival-order/' + code + '/getH5Detail',
        headers: {
            isToken: true
        },
        method: 'get'
    })
}